package dk.au.cs.bdsi.mail.domain;

public class HeaderBuilder implements Builder<Header> {
	public static HeaderBuilder header() {
		return new HeaderBuilder();
	}
	
	private String name = "cc";
	private String value = "foo@bar.com";
	
	@Override
	public Header build() {
		return new Header(name, value);
	}
	
	@SuppressWarnings("hiding")
	public HeaderBuilder withName(String name) {
		this.name = name;
		return this;
	}
	
	@SuppressWarnings("hiding")
	public HeaderBuilder withValue(String value) {
		this.value = value;
		return this;
	}
}
